package com.ruoyi.shopping.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品图片对象 commodity_images
 * 
 * @author ysq
 * @date 2024-08-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommodityImages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品图片id */
    private Long id;

    /** 轮播图1 */
    @Excel(name = "轮播图1")
    private String carousel1;

    /** 轮播图2 */
    @Excel(name = "轮播图2")
    private String carousel2;

    /** 轮播图3 */
    @Excel(name = "轮播图3")
    private String carousel3;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String images;

    /** 商品id */
    @Excel(name = "商品id")
    private Long commodityId;
    @TableField(exist = false)
    private Commodity commodity;
    @TableField(exist = false)
    private String commodityName;

    /** 逻辑删除标识 */
    private Long del;
}
